<%--
  Created by IntelliJ IDEA.
  User: yiyi
  Date: 2020/12/4
  Time: 16:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>读者页面测试</title>
</head>
<body>
    <h2>预约图书</h2>
    <form action="/bookware/order" method="post">
        库存id：<input type="text" name="bookWareId" value=""/><br>
        用户id：<input type="text" name="userId" value=""/><br>
        <input type="submit" value="确定"/>
    </form>

    <h2>查询图书</h2>
    <form action="/bookware/findbookware" method="post">
        id：<input type="text" name="bookWareId"/><br>
        名字：<input type="text" name="bookName"/><br>
        作者：<input type="text" name="bookAuthor"/><br>
        出版社：<input type="text" name="bookPublisher"/><br>
        类型：<input type="text" name="bookType"/><br>
        <input type="submit" value="确定"/>
    </form>

    <h2>查看借阅历史</h2>
    <form action="/bookware/findReaderHistory" method="post">
        用户id：<input type="text" name="userId"/><br>
        书名：<input type="text" name="bookName"><br>
        作者：<input type="text" name="bookAuthor"><br>
        出版社：<input type="text" name="bookPublisher"><br>
        类型：<input type="text" name="bookType"><br>
        <input type="submit" value="确定"/>
    </form>

    <h2>荐够图书</h2>
    <form action="/recommend/addRecommend" method="post">
        名字：<input type="text" name="recommendName"/><br>
        作者：<input type="text" name="recommendAuthor"/><br>
        出版社：<input type="text" name="recommendPublisher"/><br>
        类型：<input type="text" name="recommendReason"/><br>
        <input type="submit" value="确定"/>
    </form>

    <h2>续借图书</h2>
    <form action="/borrow/renew" method="post">
        借阅记录id：<input type="text" name="borrowId"/><br>
        状态：<input type="text" name="borrowStatus"><br>
        <input type="submit" value="确定"/>
    </form>

    <h2>评分</h2>
    <form action="/bookware/grade" method="post">
        评分：<input type="text" name="grade" value=""/><br>
        <input type="submit" value="确定"/>
    </form>

    <h2>查看高分图书</h2>
    <form action="/bookware/findTopGrade" method="post">
        <input type="submit" value="查询"/>
    </form>

    <h2>查看管理员消息</h2>
    <form action="/information/getInformation" method="post">
        用户id：<input type="text" name="userId"/><br>
        <input type="submit" value="查询"/>
    </form>

    <h2>修改个人信息（密码）</h2>
    <form action="/user/changeInformation" method="post">
        用户id：<input type="text" name="userId"/><br>
        新密码：<input type="text" name="newPassword"/><br>
        <input type="submit" value="确定"/>
    </form>

    <h2>挂失借阅证</h2>
    <form action="/card/changeStatus" method="post">
        用户id：<input type="text" name="userId"/><br>
        用户密码：<input type="text" name="userPassword">
        <input type="submit" value="确定"/>
    </form>
</body>
</html>